package org.aristotle.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import org.aristotle.user.model.dto.UserDTO;
import org.aristotle.user.model.entity.User;
import org.aristotle.user.model.vo.UserVO;

public interface IUserService extends IService<User> {
    Page<UserVO> queryPageList(
        Long id,
        String username,
        String nickname,
        Integer status,
        Integer current,
        Integer size
    );

    UserVO getById(Long id);

    Boolean removeById(Long id);


    UserDTO getByUsername(String username);
}
